"""


"""
from django.contrib.auth.models import Group, Permission
from rest_framework.serializers import ModelSerializer


class GroupManageSerializer(ModelSerializer):
    class Meta:
        model = Group
        fields = "__all__"


class PermissionSimpleSerializer(ModelSerializer):
    class Meta:
        model = Permission
        fields = ("id", "name")